/* 
 * Copyright (C), 2016-2020, 厦门盈欣宝金融信息服务有限公司
 * Project Name :boot-parent
 * File Name: org.easytouseit.bootservlet.listener
 * Encoding UTF-8 
 * Version: 1.0 
 * Date: 2018-07-31 16:41
 * History:  
 * 1. Date: 2018-07-31
 *    Author: guojm 
 *    Modification: 新建
 * 2. ...
 */
package org.easytouseit.bootservlet.listener;

import lombok.extern.slf4j.Slf4j;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

/**
 * 自定义监听器
 *
 * @author guojm
 * @version V1.0
 * @date 2018-07-31
 */
@Slf4j
@WebListener
public class CustomMyListener implements ServletContextListener{
    @Override
    public void contextInitialized(ServletContextEvent servletContextEvent) {
        log.info("========自定义监听器初始化========");
    }

    @Override
    public void contextDestroyed(ServletContextEvent servletContextEvent) {
        log.info("========自定义监听器销毁========");
    }
}
